# 定义目标文件和源文件
TARGET = report.pdf
SOURCE = report.tex

# 伪目标
.PHONY: all clean

# 默认目标
all: $(TARGET)

# 编译LaTeX文档
$(TARGET): $(SOURCE)
	xelatex $(SOURCE)
	xelatex $(SOURCE)

# 清理生成的中间文件
clean:
	rm -f *.aux *.log *.out *.toc *.gz

# 伪目标
.PHONY: all clean
